//
//  YCLConst.swift
//  新浪微博01
//
//  Created by yaochunlin on 16/4/10.
//  Copyright © 2016年 yaochunlin. All rights reserved.
//

import UIKit

let YCLTabBarItemsCount = 5

//新特性界面数量
let NewFeatureItemCount = 4

//注意配置DEBUG
func YCLPrint(items: Any, file: String = __FILE__, line: Int = __LINE__, function: String = __FUNCTION__) {
    
    #if DEBUG
    
        print((file as NSString).lastPathComponent + " [\(line)]行,方法名称:" + function + " 输出: \(items)")
    #endif
}

//动画默认时间
let YCLDefautlAnimDuration: NSTimeInterval = 0.25

//配置全局背景颜色
let GlobalBGColor = UIColor.whiteColor()

//MARK 授权相关
let OauthURL = "https://api.weibo.com/oauth2/authorize"
let client_id = "3004180286"
let redirect_uri = "http://www.baidu.com"

let accessTokenURLString = "https://api.weibo.com/oauth2/access_token"
let grant_type = "authorization_code"
let client_secret = "a72506c94014250f3a43ea032b298e12"

//MARK 账号归档路径
//归档路径
let path = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true).last?.stringByAppendingString("/account.plist")

//MARK cell的常量
//用户名称大小
let YCLStatusNameFontSize: CGFloat = 14

/// 时间文字大小
let YCLStatusTimeFontSize: CGFloat = 11

/// 微博文字大小
let YCLStatusContentFontSize: CGFloat = 15

/// 微博内容间距
let YCLStatusCellMargin: CGFloat = 8

/// 微博头像大小
let YCLStatusIconWH: CGFloat = 35

//下拉刷新微博的提示框
let labelHeight:CGFloat = 44
        